//
//  CommonDataManager.m
//  YunKang
//
//  Created by leoking870 on 2017/10/14.
//  Copyright © 2017年 leoking870. All rights reserved.
//

#import "CommonDataManager.h"
#import "YKOwnerShipFromModel.h"
#import "YKDatTypeModel.h"
#import "YKCustomLevelModel.h"

@implementation YKTypeModel

- (NSString *)name
{
    return self.CT_NAME;
}

- (NSString *)id_p {
    return self.ID;
}

- (NSString *)code {
    return self.ID;
}

- (NSArray *)sub{
    return nil;
}

@end
@implementation CommonDataManager
+ (instancetype)sharedInstance {
    static dispatch_once_t onceToken;
    static CommonDataManager *manager;
    dispatch_once(&onceToken, ^{
        manager = [[CommonDataManager alloc]init];
    });
    return manager;
}
@end

